package com.hycreate.platform.modules.crm.findcustomer;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.hycreate.platform.common.service.CrudService;

/**
 * 客户项目的业务层
 * */
@Service
@Transactional(readOnly = true)
public class FindCustomerProjectService extends CrudService<FindCustomerProjectDao, FindCustomerProject> {
	
	@Autowired
	private FindCustomerProjectDao projectDao;

	public List<FindCustomerProject> findProjectsByCustomer(String id) {
		return projectDao.findProjectsByCustomer(id);
	}

}
